{extend name="$_admin_layout"}

{block name="tpl_vars"}
    {php}$page_title = '修改模块：' . $module_info['name'];{/php}
{/block}

{block name="main-content"}
    <form id="module_form" class="form form-manager">
        <div class="box box-red no-heading">
            <div class="box-body">

                <div class="row">
                    <div class="col-sm-12">
                        {:helper('admin/form')->render_group('sort', $module_info['sort'], 'number', '排序')}
                        {:helper('admin/form')->render_group('status', $module_info['status'], 'switch', '状态', null, ['list' => 'status'])}
                        {:helper('admin/form')->render_submit_and_cancel(request()->url(), $_controller->url('index'))}
                   </div>
                </div>

            </div><!-- /.box-body -->
        </div><!-- /.box -->
    </form>
{/block}